package com.cndw.kungfu.socket.vo;


/**
 * 玩家事件对象
 * 
 * @author fantadust
 * @date 2011-5-11 下午04:14:08
 */
public class Mail {
	/**
	 * 系统id
	 */
	private int id;
	/**
	 * 收件人id
	 */
	private long playerId;
	/**
	 * 收件人名称
	 */
	private String playerName;
	/**
	 * 发件人id
	 */
	private long senderId;
	/**
	 * 发件人名称
	 */
	private String senderName;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 添加时间
	 */
	private int addTime;
	/**
	 * 类型
	 */
	private int type;
	/**
	 * 是否已存
	 */
	private boolean saved;
	/**
	 * 是否已读
	 */
	private boolean readed;
	/**
	 * 状态
	 */
	private int status;// 状态
	/**
	 * 发件人删除
	 */
	private boolean senderDel;
	/**
	 * 附件json
	 */
	private String attachment;
	/**
	 * 领取时间
	 */
	private int getTime;

	public static final int USER = 0;
	public static final int SYS = 1;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public long getPlayerId() {
		return playerId;
	}

	public void setPlayerId(long playerId) {
		this.playerId = playerId;
	}

	public String getPlayerName() {
		return playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}

	public long getSenderId() {
		return senderId;
	}

	public void setSenderId(long senderId) {
		this.senderId = senderId;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getAddTime() {
		return addTime;
	}

	public void setAddTime(int addTime) {
		this.addTime = addTime;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public boolean isSaved() {
		return saved;
	}

	public void setSaved(boolean saved) {
		this.saved = saved;
	}

	public boolean isReaded() {
		return readed;
	}

	public void setReaded(boolean readed) {
		this.readed = readed;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public boolean isSenderDel() {
		return senderDel;
	}

	public void setSenderDel(boolean senderDel) {
		this.senderDel = senderDel;
	}

	public String getAttachment() {
		return attachment;
	}

	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}

	public int getGetTime() {
		return getTime;
	}

	public void setGetTime(int getTime) {
		this.getTime = getTime;
	}

}
